function logout(){
	//跳转到登录页面
	window.location.href = $("#path").val() + "login/logout";
}

//关于
function about() {
	window.open ($("#path").val() + "help/about", "newWindow", "height=700, width=950, top=150, left=200, toolbar =no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no");
}

//改变模式
function changePattern(pattern) {
	$.ajax({
		type: "POST",
		url : "toPattern",
		dataType : 'json',
		delay : 250,
		data :{pattern:pattern},		
		cache : false,
		complete:function(){
			reloadList();
		}
	});
	
}